package com.hxzy.service.impl;


import com.hxzy.entity.MerchandiseClass;
import com.hxzy.mapper.MerchandiseClassMapper;
import com.hxzy.service.MerchandiseClassService;
import com.hxzy.dto.back.MerchandiseClassSearchDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.lang.Long;


/**
* @Author wy
* @Description 商品分类表业务逻辑
* @Date 2023-04-17
* @Version 1.0
*/
@Service
public class MerchandiseClassServiceImpl extends ServiceImpl<MerchandiseClass,Long>  implements MerchandiseClassService {

    private MerchandiseClassMapper  merchandiseClassMapper;

    @Autowired
    public void setMerchandiseClassMapper(MerchandiseClassMapper merchandiseClassMapper) {
        this.merchandiseClassMapper = merchandiseClassMapper;
        super.setMyBatisBaseDao(merchandiseClassMapper);
    }

    @Override
    public List<MerchandiseClass> search(MerchandiseClassSearchDTO searchDTO) {
        return this.merchandiseClassMapper.search(searchDTO);
    }

}
